home *** CD-ROM | disk | FTP | other *** search
/ QuickTime 1.5 for Developers / QuickTime 1.5 for Developers.iso / Goodies / Aldus Fetch™ / Fetch Browser / Fetch Browser.rsrc / CODE_76_APictureUtils.txt < prev    next >
Text File  |  1992-10-27  |  32KB  |  568 lines

  1. # near model CODE resource
  2. # jump table entries: 17016-17019 (4 of them)
  3. export_2127:
  4. 00000000  4E56 0000                link       A6, 0
  5. 00000004  42A7                     clr.l      -[A7]
  6. 00000006  2F3C 5049 4354           move.l     -[A7], 0x50494354 /* 'PICT' */
  7. 0000000C  3F2E 0008                move.w     -[A7], [A6 + 0x8]
  8. 00000010  A81F                     syscall    Get1Resource
  9. 00000012  2D5F 000A                move.l     [A6 + 0xA], [A7]+
  10. 00000016  4E5E                     unlink     A6
  11. 00000018  205F                     movea.l    A0, [A7]+
  12. 0000001A  544F                     addq.w     A7, 2
  13. 0000001C  4ED0                     jmp        [A0]
  14. 0000001E  8B47 4554                pack       D5, D7, 0x4554
  15. 00000022  3150 4943                move.w     [A0 + 0x4943], [A0]
  16. 00000026  5455                     addq.w     [A5], 2
  17. 00000028  5245                     addq.w     D5, 1
  18. 0000002A  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  19. // begin alternate branch 0000002C-00000032
  20. fn0000002C:
  21. 0000002C  4E56 0000                link       A6, 0
  22. 00000030  7000                     moveq.l    D0, 0x00
  23. // end alternate branch 0000002C-00000032
  24. fn0000002C: // (misaligned)
  25. 0000002E  0000 7000                ori.b      D0, 0x0
  26. 00000032  206E 0008                movea.l    A0, [A6 + 0x8]
  27. 00000036  3028 0006                move.w     D0, [A0 + 0x6]
  28. 0000003A  C0BC FFFF C000           and.l      D0, 0xFFFFC000
  29. 00000040  4A80                     tst.l      D0
  30. 00000042  56C0                     sne        D0
  31. 00000044  4400                     neg.b      D0
  32. 00000046  1D40 000C                move.b     [A6 + 0xC], D0
  33. 0000004A  4E5E                     unlink     A6
  34. 0000004C  2E9F                     move.l     [A7], [A7]+
  35. 0000004E  4E75                     rts
  36. 00000050  8B49 5343                pack       -[A5], -[A1], 0x5343
  37. 00000054  4F4C                     chk.w      D7, A4
  38. 00000056  4F52                     chk.w      D7, [A2]
  39. 00000058  504F                     addq.w     A7, 8
  40. 0000005A  5254                     addq.w     [A4], 1
  41. 0000005C  0000 0000                ori.b      D0, 0x0
  42. fn00000060:
  43. 00000060  4E56 0000                link       A6, 0
  44. 00000064  2F0C                     move.l     -[A7], A4
  45. 00000066  286E 0008                movea.l    A4, [A6 + 0x8]
  46. 0000006A  4254                     clr.w      [A4]
  47. 0000006C  7000                     moveq.l    D0, 0x00
  48. 0000006E  2940 0002                move.l     [A4 + 0x2], D0
  49. 00000072  7000                     moveq.l    D0, 0x00
  50. 00000074  2940 0006                move.l     [A4 + 0x6], D0
  51. 00000078  7000                     moveq.l    D0, 0x00
  52. 0000007A  2940 000A                move.l     [A4 + 0xA], D0
  53. 0000007E  7000                     moveq.l    D0, 0x00
  54. 00000080  2940 000E                move.l     [A4 + 0xE], D0
  55. 00000084  7000                     moveq.l    D0, 0x00
  56. 00000086  2940 0012                move.l     [A4 + 0x12], D0
  57. 0000008A  397C 0001 0016           move.w     [A4 + 0x16], 0x1
  58. 00000090  486C 0018                pea.l      [A4 + 0x18]
  59. 00000094  42A7                     clr.l      -[A7]
  60. 00000096  42A7                     clr.l      -[A7]
  61. 00000098  A8A7                     syscall    SetRect
  62. 0000009A  7000                     moveq.l    D0, 0x00
  63. 0000009C  2940 0020                move.l     [A4 + 0x20], D0
  64. 000000A0  7000                     moveq.l    D0, 0x00
  65. 000000A2  2940 0024                move.l     [A4 + 0x24], D0
  66. 000000A6  7000                     moveq.l    D0, 0x00
  67. 000000A8  2940 0028                move.l     [A4 + 0x28], D0
  68. 000000AC  7000                     moveq.l    D0, 0x00
  69. 000000AE  2940 002C                move.l     [A4 + 0x2C], D0
  70. 000000B2  7000                     moveq.l    D0, 0x00
  71. 000000B4  2940 0030                move.l     [A4 + 0x30], D0
  72. 000000B8  7000                     moveq.l    D0, 0x00
  73. 000000BA  2940 0034                move.l     [A4 + 0x34], D0
  74. 000000BE  7000                     moveq.l    D0, 0x00
  75. 000000C0  2940 0038                move.l     [A4 + 0x38], D0
  76. 000000C4  7000                     moveq.l    D0, 0x00
  77. 000000C6  2940 003C                move.l     [A4 + 0x3C], D0
  78. 000000CA  7000                     moveq.l    D0, 0x00
  79. 000000CC  2940 0040                move.l     [A4 + 0x40], D0
  80. 000000D0  7000                     moveq.l    D0, 0x00
  81. 000000D2  2940 0044                move.l     [A4 + 0x44], D0
  82. 000000D6  7000                     moveq.l    D0, 0x00
  83. 000000D8  2940 0048                move.l     [A4 + 0x48], D0
  84. 000000DC  7000                     moveq.l    D0, 0x00
  85. 000000DE  2940 004C                move.l     [A4 + 0x4C], D0
  86. 000000E2  7000                     moveq.l    D0, 0x00
  87. 000000E4  2940 0050                move.l     [A4 + 0x50], D0
  88. 000000E8  7000                     moveq.l    D0, 0x00
  89. 000000EA  2940 0054                move.l     [A4 + 0x54], D0
  90. 000000EE  7000                     moveq.l    D0, 0x00
  91. 000000F0  2940 0058                move.l     [A4 + 0x58], D0
  92. 000000F4  7000                     moveq.l    D0, 0x00
  93. 000000F6  2940 005C                move.l     [A4 + 0x5C], D0
  94. 000000FA  7000                     moveq.l    D0, 0x00
  95. 000000FC  2940 0060                move.l     [A4 + 0x60], D0
  96. 00000100  7000                     moveq.l    D0, 0x00
  97. 00000102  2940 0064                move.l     [A4 + 0x64], D0
  98. 00000106  285F                     movea.l    A4, [A7]+
  99. 00000108  4E5E                     unlink     A6
  100. 0000010A  2E9F                     move.l     [A7], [A7]+
  101. 0000010C  4E75                     rts
  102. 0000010E  8D43 4C45                pack       D6, D3, 0x4C45
  103. 00000112  4152                     chk.w      D0, [A2]
  104. 00000114  5049                     addq.w     A1, 8
  105. 00000116  4354                     chk.w      D1, [A4]
  106. 00000118  494E                     chk.w      D4, A6
  107. 0000011A  464F                     not.w      A7
  108. 0000011C  0000 0000                ori.b      D0, 0x0
  109. 00000120  4E56 0000                link       A6, 0
  110. 00000124  52AD EE9C                addq.l     [A5 - 0x1164], 1
  111. 00000128  4E5E                     unlink     A6
  112. 0000012A  205F                     movea.l    A0, [A7]+
  113. 0000012C  DEFC 000E                add.w      A7, 0xE
  114. 00000130  4ED0                     jmp        [A0]
  115. 00000132  8943 4F55                pack       D4, D3, 0x4F55
  116. 00000136  4E54 5445                link       A4, -0xFFFFABBB
  117. 0000013A  5854                     addq.w     [A4], 4
  118. 0000013C  0000 0000                ori.b      D0, 0x0
  119. 00000140  4E56 0000                link       A6, 0
  120. 00000144  52AD EEA0                addq.l     [A5 - 0x1160], 1
  121. 00000148  4E5E                     unlink     A6
  122. 0000014A  2E9F                     move.l     [A7], [A7]+
  123. 0000014C  4E75                     rts
  124. 0000014E  8943 4F55                pack       D4, D3, 0x4F55
  125. 00000152  4E54 4C49                link       A4, -0xFFFFB3B7
  126. 00000156  4E45                     trap       5
  127. 00000158  0000 0000                ori.b      D0, 0x0
  128. 0000015C  4E56 FFF8                link       A6, -0x0008
  129. 00000160  206E 0008                movea.l    A0, [A6 + 0x8]
  130. 00000164  43EE FFF8                lea.l      A1, [A6 - 0x8]
  131. 00000168  22D8                     move.l     [A1]+, [A0]+
  132. 0000016A  22D8                     move.l     [A1]+, [A0]+
  133. 0000016C  52AD EEA4                addq.l     [A5 - 0x115C], 1
  134. 00000170  4E5E                     unlink     A6
  135. 00000172  205F                     movea.l    A0, [A7]+
  136. 00000174  5C4F                     addq.w     A7, 6
  137. 00000176  4ED0                     jmp        [A0]
  138. 00000178  8943 4F55                pack       D4, D3, 0x4F55
  139. 0000017C  4E54 5245                link       A4, -0xFFFFADBB
  140. 00000180  4354                     chk.w      D1, [A4]
  141. 00000182  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  142. 00000186  FFF8                     .invalid   <<F/7/7>>
  143. 00000188  206E 000C                movea.l    A0, [A6 + 0xC]
  144. 0000018C  43EE FFF8                lea.l      A1, [A6 - 0x8]
  145. 00000190  22D8                     move.l     [A1]+, [A0]+
  146. 00000192  22D8                     move.l     [A1]+, [A0]+
  147. 00000194  52AD EEA8                addq.l     [A5 - 0x1158], 1
  148. 00000198  4E5E                     unlink     A6
  149. 0000019A  205F                     movea.l    A0, [A7]+
  150. 0000019C  DEFC 000A                add.w      A7, 0xA /* '\n' */
  151. 000001A0  4ED0                     jmp        [A0]
  152. 000001A2  8A43                     or.w       D5, D3
  153. 000001A4  4F55                     chk.w      D7, [A5]
  154. 000001A6  4E54 5252                link       A4, -0xFFFFADAE
  155. 000001AA  4543                     chk.w      D2, D3
  156. 000001AC  5400                     addq.b     D0, 2
  157. 000001AE  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  158. 000001B2  FFF8                     .invalid   <<F/7/7>>
  159. 000001B4  206E 0008                movea.l    A0, [A6 + 0x8]
  160. 000001B8  43EE FFF8                lea.l      A1, [A6 - 0x8]
  161. 000001BC  22D8                     move.l     [A1]+, [A0]+
  162. 000001BE  22D8                     move.l     [A1]+, [A0]+
  163. 000001C0  52AD EEAC                addq.l     [A5 - 0x1154], 1
  164. 000001C4  4E5E                     unlink     A6
  165. 000001C6  205F                     movea.l    A0, [A7]+
  166. 000001C8  5C4F                     addq.w     A7, 6
  167. 000001CA  4ED0                     jmp        [A0]
  168. 000001CC  8943 4F55                pack       D4, D3, 0x4F55
  169. 000001D0  4E54 4F56                link       A4, -0xFFFFB0AA
  170. 000001D4  414C                     chk.w      D0, A4
  171. 000001D6  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  172. 000001DA  FFF8                     .invalid   <<F/7/7>>
  173. 000001DC  206E 000C                movea.l    A0, [A6 + 0xC]
  174. 000001E0  43EE FFF8                lea.l      A1, [A6 - 0x8]
  175. 000001E4  22D8                     move.l     [A1]+, [A0]+
  176. 000001E6  22D8                     move.l     [A1]+, [A0]+
  177. 000001E8  52AD EEB0                addq.l     [A5 - 0x1150], 1
  178. 000001EC  4E5E                     unlink     A6
  179. 000001EE  205F                     movea.l    A0, [A7]+
  180. 000001F0  DEFC 000A                add.w      A7, 0xA /* '\n' */
  181. 000001F4  4ED0                     jmp        [A0]
  182. 000001F6  8843                     or.w       D4, D3
  183. 000001F8  4F55                     chk.w      D7, [A5]
  184. 000001FA  4E54 4152                link       A4, -0xFFFFBEAE
  185. 000001FE  4300                     .invalid   1, D0 // invalid opcode 4 with b == 4
  186. 00000200  0000 0000                ori.b      D0, 0x0
  187. 00000204  4E56 0000                link       A6, 0
  188. 00000208  52AD EEB4                addq.l     [A5 - 0x114C], 1
  189. 0000020C  4E5E                     unlink     A6
  190. 0000020E  205F                     movea.l    A0, [A7]+
  191. 00000210  5C4F                     addq.w     A7, 6
  192. 00000212  4ED0                     jmp        [A0]
  193. 00000214  8943 4F55                pack       D4, D3, 0x4F55
  194. 00000218  4E54 504F                link       A4, -0xFFFFAFB1
  195. 0000021C  4C59 0000                movem.l    <none>, [A1]+
  196. 00000220  4E56 FFFE                link       A6, -0x0002
  197. 00000224  2F07                     move.l     -[A7], D7
  198. 00000226  7000                     moveq.l    D0, 0x00
  199. 00000228  206E 0016                movea.l    A0, [A6 + 0x16]
  200. 0000022C  3028 0004                move.w     D0, [A0 + 0x4]
  201. 00000230  C0BC FFFF 8000           and.l      D0, 0xFFFF8000
  202. 00000236  4A80                     tst.l      D0
  203. 00000238  670E                     beq        +0x10 /* 00000248 */
  204. 0000023A  52AD EEC0                addq.l     [A5 - 0x1140], 1
  205. 0000023E  206E 0016                movea.l    A0, [A6 + 0x16]
  206. 00000242  3E28 0020                move.w     D7, [A0 + 0x20]
  207. 00000246  6006                     bra        +0x8 /* 0000024E */
  208. label00000248:
  209. 00000248  52AD EEBC                addq.l     [A5 - 0x1144], 1
  210. 0000024C  7E01                     moveq.l    D7, 0x01
  211. label0000024E:
  212. 0000024E  BE6D EE92                cmp.w      D7, [A5 - 0x116E]
  213. 00000252  6F04                     ble        +0x6 /* 00000258 */
  214. 00000254  3B47 EE92                move.w     [A5 - 0x116E], D7
  215. label00000258:
  216. 00000258  2E1F                     move.l     D7, [A7]+
  217. 0000025A  4E5E                     unlink     A6
  218. 0000025C  205F                     movea.l    A0, [A7]+
  219. 0000025E  DEFC 0012                add.w      A7, 0x12
  220. 00000262  4ED0                     jmp        [A0]
  221. 00000264  8943 4F55                pack       D4, D3, 0x4F55
  222. 00000268  4E54 4249                link       A4, -0xFFFFBDB7
  223. 0000026C  5453                     addq.w     [A3], 2
  224. 0000026E  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  225. 00000272  0000 52AD                ori.b      D0, 0xAD
  226. 00000276  EEC4 4E5E                bfset      D4 {D1:30}
  227. 0000027A  205F                     movea.l    A0, [A7]+
  228. 0000027C  504F                     addq.w     A7, 8
  229. 0000027E  4ED0                     jmp        [A0]
  230. 00000280  8C43                     or.w       D6, D3
  231. 00000282  4F55                     chk.w      D7, [A5]
  232. 00000284  4E54 434F                link       A4, -0xFFFFBCB1
  233. 00000288  4D4D                     chk.w      D6, A5
  234. 0000028A  454E                     chk.w      D2, A6
  235. 0000028C  5400                     addq.b     D0, 2
  236. 0000028E  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  237. // begin alternate branch 00000290-00000294
  238. fn00000290:
  239. 00000290  4E56 FF78                link       A6, -0x0088
  240. // end alternate branch 00000290-00000294
  241. fn00000290: // (misaligned)
  242. 00000292  FF78                     .extension 0xF78 <<F/4-5/7>> // unimplemented
  243. 00000294  206D FE3A                movea.l    A0, [A5 - 0x1C6]
  244. 00000298  2D68 0068 FFFC           move.l     [A6 - 0x4], [A0 + 0x68]
  245. 0000029E  4267                     clr.w      -[A7]
  246. 000002A0  2F2D FE3A                move.l     -[A7], [A5 - 0x1C6]
  247. 000002A4  4EBA FD86                jsr        [PC - 0x27A /* 0000002C */]
  248. 000002A8  101F                     move.b     D0, [A7]+
  249. 000002AA  6700 008A                beq        +0x8C /* 00000336 */
  250. 000002AE  486E FFAC                pea.l      [A6 - 0x54]
  251. 000002B2  AA4E                     syscall    SetStdCProcs
  252. 000002B4  41FA FE6A                lea.l      A0, [PC - 0x196 /* 00000120, value 0x4E560000 'NV\0\0', cstring "NV" */]
  253. 000002B8  2D48 FFAC                move.l     [A6 - 0x54], A0
  254. 000002BC  41FA FE82                lea.l      A0, [PC - 0x17E /* 00000140, value 0x4E560000 'NV\0\0', cstring "NV" */]
  255. 000002C0  2D48 FFB0                move.l     [A6 - 0x50], A0
  256. 000002C4  41FA FE96                lea.l      A0, [PC - 0x16A /* 0000015C, value 0x4E56FFF8 */]
  257. 000002C8  2D48 FFB4                move.l     [A6 - 0x4C], A0
  258. 000002CC  41FA FEB6                lea.l      A0, [PC - 0x14A /* 00000184, value 0x4E56FFF8 */]
  259. 000002D0  2D48 FFB8                move.l     [A6 - 0x48], A0
  260. 000002D4  41FA FEDA                lea.l      A0, [PC - 0x126 /* 000001B0, value 0x4E56FFF8 */]
  261. 000002D8  2D48 FFBC                move.l     [A6 - 0x44], A0
  262. 000002DC  41FA FEFA                lea.l      A0, [PC - 0x106 /* 000001D8, value 0x4E56FFF8 */]
  263. 000002E0  2D48 FFC0                move.l     [A6 - 0x40], A0
  264. 000002E4  41FA FF1E                lea.l      A0, [PC - 0xE2 /* 00000204, value 0x4E560000 'NV\0\0', cstring "NV" */]
  265. 000002E8  2D48 FFC4                move.l     [A6 - 0x3C], A0
  266. 000002EC  41FA FF32                lea.l      A0, [PC - 0xCE /* 00000220, value 0x4E56FFFE */]
  267. 000002F0  2D48 FFCC                move.l     [A6 - 0x34], A0
  268. 000002F4  41FA FF7A                lea.l      A0, [PC - 0x86 /* 00000270, value 0x4E560000 'NV\0\0', cstring "NV" */]
  269. 000002F8  2D48 FFD0                move.l     [A6 - 0x30], A0
  270. 000002FC  206D FE3A                movea.l    A0, [A5 - 0x1C6]
  271. 00000300  4AA8 0068                tst.l      [A0 + 0x68]
  272. 00000304  56C0                     sne        D0
  273. 00000306  4A00                     tst.b      D0
  274. 00000308  671C                     beq        +0x1E /* 00000326 */
  275. 0000030A  2068 0068                movea.l    A0, [A0 + 0x68]
  276. 0000030E  4AA8 002C                tst.l      [A0 + 0x2C]
  277. 00000312  56C1                     sne        D1
  278. 00000314  C001                     and.b      D0, D1
  279. 00000316  670E                     beq        +0x10 /* 00000326 */
  280. 00000318  206D FE3A                movea.l    A0, [A5 - 0x1C6]
  281. 0000031C  2068 0068                movea.l    A0, [A0 + 0x68]
  282. 00000320  2D68 002C FFD8           move.l     [A6 - 0x28], [A0 + 0x2C]
  283. label00000326:
  284. 00000326  41EE FFAC                lea.l      A0, [A6 - 0x54]
  285. 0000032A  226D FE3A                movea.l    A1, [A5 - 0x1C6]
  286. 0000032E  2348 0068                move.l     [A1 + 0x68], A0
  287. 00000332  6000 0086                bra        +0x88 /* 000003BA */
  288. label00000336:
  289. 00000336  486E FF78                pea.l      [A6 - 0x88]
  290. 0000033A  A8EA                     syscall    SetStdProcs
  291. 0000033C  41FA FDE2                lea.l      A0, [PC - 0x21E /* 00000120, value 0x4E560000 'NV\0\0', cstring "NV" */]
  292. 00000340  2D48 FF78                move.l     [A6 - 0x88], A0
  293. 00000344  41FA FDFA                lea.l      A0, [PC - 0x206 /* 00000140, value 0x4E560000 'NV\0\0', cstring "NV" */]
  294. 00000348  2D48 FF7C                move.l     [A6 - 0x84], A0
  295. 0000034C  41FA FE0E                lea.l      A0, [PC - 0x1F2 /* 0000015C, value 0x4E56FFF8 */]
  296. 00000350  2D48 FF80                move.l     [A6 - 0x80], A0
  297. 00000354  41FA FE2E                lea.l      A0, [PC - 0x1D2 /* 00000184, value 0x4E56FFF8 */]
  298. 00000358  2D48 FF84                move.l     [A6 - 0x7C], A0
  299. 0000035C  41FA FE52                lea.l      A0, [PC - 0x1AE /* 000001B0, value 0x4E56FFF8 */]
  300. 00000360  2D48 FF88                move.l     [A6 - 0x78], A0
  301. 00000364  41FA FE72                lea.l      A0, [PC - 0x18E /* 000001D8, value 0x4E56FFF8 */]
  302. 00000368  2D48 FF8C                move.l     [A6 - 0x74], A0
  303. 0000036C  41FA FE96                lea.l      A0, [PC - 0x16A /* 00000204, value 0x4E560000 'NV\0\0', cstring "NV" */]
  304. 00000370  2D48 FF90                move.l     [A6 - 0x70], A0
  305. 00000374  41FA FEAA                lea.l      A0, [PC - 0x156 /* 00000220, value 0x4E56FFFE */]
  306. 00000378  2D48 FF98                move.l     [A6 - 0x68], A0
  307. 0000037C  41FA FEF2                lea.l      A0, [PC - 0x10E /* 00000270, value 0x4E560000 'NV\0\0', cstring "NV" */]
  308. 00000380  2D48 FF9C                move.l     [A6 - 0x64], A0
  309. 00000384  206D FE3A                movea.l    A0, [A5 - 0x1C6]
  310. 00000388  4AA8 0068                tst.l      [A0 + 0x68]
  311. 0000038C  56C0                     sne        D0
  312. 0000038E  4A00                     tst.b      D0
  313. 00000390  671C                     beq        +0x1E /* 000003AE */
  314. 00000392  2068 0068                movea.l    A0, [A0 + 0x68]
  315. 00000396  4AA8 002C                tst.l      [A0 + 0x2C]
  316. 0000039A  56C1                     sne        D1
  317. 0000039C  C001                     and.b      D0, D1
  318. 0000039E  670E                     beq        +0x10 /* 000003AE */
  319. 000003A0  206D FE3A                movea.l    A0, [A5 - 0x1C6]
  320. 000003A4  2068 0068                movea.l    A0, [A0 + 0x68]
  321. 000003A8  2D68 002C FFA4           move.l     [A6 - 0x5C], [A0 + 0x2C]
  322. label000003AE:
  323. 000003AE  41EE FF78                lea.l      A0, [A6 - 0x88]
  324. 000003B2  226D FE3A                movea.l    A1, [A5 - 0x1C6]
  325. 000003B6  2348 0068                move.l     [A1 + 0x68], A0
  326. label000003BA:
  327. 000003BA  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  328. 000003BE  206E 0008                movea.l    A0, [A6 + 0x8]
  329. 000003C2  2050                     movea.l    A0, [A0]
  330. 000003C4  4868 0002                pea.l      [A0 + 0x2]
  331. 000003C8  A8F6                     syscall    DrawPicture
  332. 000003CA  206D FE3A                movea.l    A0, [A5 - 0x1C6]
  333. 000003CE  216E FFFC 0068           move.l     [A0 + 0x68], [A6 - 0x4]
  334. 000003D4  4E5E                     unlink     A6
  335. 000003D6  2E9F                     move.l     [A7], [A7]+
  336. 000003D8  4E75                     rts
  337. 000003DA  9443                     sub.w      D2, D3
  338. 000003DC  4F55                     chk.w      D7, [A5]
  339. 000003DE  4E54 5049                link       A4, -0xFFFFAFB7
  340. 000003E2  4354                     chk.w      D1, [A4]
  341. 000003E4  5552                     subq.w     [A2], 2
  342. 000003E6  4545                     chk.w      D2, D5
  343. 000003E8  4C45 4D45                movem.l    D0,D2,D6,A0,A2,A3,A6, D5
  344. 000003EC  4E54 5300                link       A4, -0xFFFFAD00
  345. 000003F0  0000 0000                ori.b      D0, 0x0
  346. export_2128:
  347. 000003F4  4E56 FFE6                link       A6, -0x001A
  348. 000003F8  48E7 0108                movem.l    -[A7], D7,A4
  349. 000003FC  286E 0014                movea.l    A4, [A6 + 0x14]
  350. 00000400  4247                     clr.w      D7
  351. 00000402  102D EEE4                move.b     D0, [A5 - 0x111C]
  352. 00000406  671A                     beq        +0x1C /* 00000422 */
  353. 00000408  4267                     clr.w      -[A7]
  354. 0000040A  2F0C                     move.l     -[A7], A4
  355. 0000040C  2F2E 0010                move.l     -[A7], [A6 + 0x10]
  356. 00000410  2F2E 000C                move.l     -[A7], [A6 + 0xC]
  357. 00000414  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  358. 00000418  303C 0800                move.w     D0, 0x800
  359. 0000041C  A831                     syscall    Pack15
  360. 0000041E  3E1F                     move.w     D7, [A7]+
  361. 00000420  6040                     bra        +0x42 /* 00000462 */
  362. label00000422:
  363. 00000422  486D EE7C                pea.l      [A5 - 0x1184]
  364. 00000426  4EBA FC38                jsr        [PC - 0x3C8 /* 00000060 */]
  365. 0000042A  2F0C                     move.l     -[A7], A4
  366. 0000042C  486E FFE6                pea.l      [A6 - 0x1A]
  367. 00000430  4EBA 00BA                jsr        [PC + 0xBA /* 000004EC */]
  368. 00000434  41ED EE94                lea.l      A0, [A5 - 0x116C]
  369. 00000438  43EE FFE6                lea.l      A1, [A6 - 0x1A]
  370. 0000043C  20D9                     move.l     [A0]+, [A1]+
  371. 0000043E  20D9                     move.l     [A0]+, [A1]+
  372. 00000440  2B6E FFEE EE8A           move.l     [A5 - 0x1176], [A6 - 0x12]
  373. 00000446  2B6E FFF2 EE8E           move.l     [A5 - 0x1172], [A6 - 0xE]
  374. 0000044C  2F0C                     move.l     -[A7], A4
  375. 0000044E  4EBA FE40                jsr        [PC - 0x1C0 /* 00000290 */]
  376. 00000452  206E 0010                movea.l    A0, [A6 + 0x10]
  377. 00000456  43ED EE7C                lea.l      A1, [A5 - 0x1184]
  378. 0000045A  7019                     moveq.l    D0, 0x19
  379. label0000045C:
  380. 0000045C  20D9                     move.l     [A0]+, [A1]+
  381. 0000045E  51C8 FFFC                dbf        D0, -0x6 /* 0000045C */
  382. label00000462:
  383. 00000462  3D47 0018                move.w     [A6 + 0x18], D7
  384. 00000466  4CDF 1080                movem.l    D7,A4, [A7]+
  385. 0000046A  4E5E                     unlink     A6
  386. 0000046C  205F                     movea.l    A0, [A7]+
  387. 0000046E  DEFC 0010                add.w      A7, 0x10
  388. 00000472  4ED0                     jmp        [A0]
  389. 00000474  8E47                     or.w       D7, D7
  390. 00000476  4554                     chk.w      D2, [A4]
  391. 00000478  5049                     addq.w     A1, 8
  392. 0000047A  4354                     chk.w      D1, [A4]
  393. 0000047C  5552                     subq.w     [A2], 2
  394. 0000047E  4549                     chk.w      D2, A1
  395. 00000480  4E46                     trap       6
  396. 00000482  4F00                     .invalid   7, D0 // invalid opcode 4 with b == 4
  397. 00000484  0000 0000                ori.b      D0, 0x0
  398. export_2129:
  399. fn00000488:
  400. 00000488  4E56 0000                link       A6, 0
  401. 0000048C  206E 0008                movea.l    A0, [A6 + 0x8]
  402. 00000490  2050                     movea.l    A0, [A0]
  403. 00000492  4240                     clr.w      D0
  404. 00000494  1028 000A                move.b     D0, [A0 + 0xA]
  405. 00000498  7211                     moveq.l    D1, 0x11
  406. 0000049A  B240                     cmp.w      D1, D0
  407. 0000049C  6612                     bne        +0x14 /* 000004B0 */
  408. 0000049E  206E 0008                movea.l    A0, [A6 + 0x8]
  409. 000004A2  2050                     movea.l    A0, [A0]
  410. 000004A4  4240                     clr.w      D0
  411. 000004A6  1028 000B                move.b     D0, [A0 + 0xB]
  412. 000004AA  3D40 000C                move.w     [A6 + 0xC], D0
  413. 000004AE  6020                     bra        +0x22 /* 000004D0 */
  414. label000004B0:
  415. 000004B0  206E 0008                movea.l    A0, [A6 + 0x8]
  416. 000004B4  2050                     movea.l    A0, [A0]
  417. 000004B6  7011                     moveq.l    D0, 0x11
  418. 000004B8  B068 000A                cmp.w      D0, [A0 + 0xA]
  419. 000004BC  660E                     bne        +0x10 /* 000004CC */
  420. 000004BE  206E 0008                movea.l    A0, [A6 + 0x8]
  421. 000004C2  2050                     movea.l    A0, [A0]
  422. 000004C4  3D68 000C 000C           move.w     [A6 + 0xC], [A0 + 0xC]
  423. 000004CA  6004                     bra        +0x6 /* 000004D0 */
  424. label000004CC:
  425. 000004CC  426E 000C                clr.w      [A6 + 0xC]
  426. label000004D0:
  427. 000004D0  4E5E                     unlink     A6
  428. 000004D2  2E9F                     move.l     [A7], [A7]+
  429. 000004D4  4E75                     rts
  430. 000004D6  9147                     subx.w     D0, D7
  431. 000004D8  4554                     chk.w      D2, [A4]
  432. 000004DA  5049                     addq.w     A1, 8
  433. 000004DC  4354                     chk.w      D1, [A4]
  434. 000004DE  5552                     subq.w     [A2], 2
  435. 000004E0  4556                     chk.w      D2, [A6]
  436. 000004E2  4552                     chk.w      D2, [A2]
  437. 000004E4  5349                     subq.w     A1, 1
  438. 000004E6  4F4E                     chk.w      D7, A6
  439. 000004E8  0000 0000                ori.b      D0, 0x0
  440. fn000004EC:
  441. 000004EC  4E56 0000                link       A6, 0
  442. 000004F0  48E7 0018                movem.l    -[A7], A3,A4
  443. 000004F4  266E 000C                movea.l    A3, [A6 + 0xC]
  444. 000004F8  286E 0008                movea.l    A4, [A6 + 0x8]
  445. 000004FC  2F0C                     move.l     -[A7], A4
  446. 000004FE  42A7                     clr.l      -[A7]
  447. 00000500  42A7                     clr.l      -[A7]
  448. 00000502  A8A7                     syscall    SetRect
  449. 00000504  42A7                     clr.l      -[A7]
  450. 00000506  2F3C 0001 0048           move.l     -[A7], 0x10048
  451. 0000050C  A869                     syscall    FixRatio
  452. 0000050E  295F 0008                move.l     [A4 + 0x8], [A7]+
  453. 00000512  42A7                     clr.l      -[A7]
  454. 00000514  2F3C 0001 0048           move.l     -[A7], 0x10048
  455. 0000051A  A869                     syscall    FixRatio
  456. 0000051C  295F 000C                move.l     [A4 + 0xC], [A7]+
  457. 00000520  42AC 0010                clr.l      [A4 + 0x10]
  458. 00000524  7000                     moveq.l    D0, 0x00
  459. 00000526  2940 0014                move.l     [A4 + 0x14], D0
  460. 0000052A  200B                     move.l     D0, A3
  461. 0000052C  674C                     beq        +0x4E /* 0000057A */
  462. 0000052E  2053                     movea.l    A0, [A3]
  463. 00000530  5488                     addq.l     A0, 2
  464. 00000532  224C                     movea.l    A1, A4
  465. 00000534  22D8                     move.l     [A1]+, [A0]+
  466. 00000536  22D8                     move.l     [A1]+, [A0]+
  467. 00000538  4267                     clr.w      -[A7]
  468. 0000053A  2F0B                     move.l     -[A7], A3
  469. 0000053C  4EBA FF4A                jsr        [PC - 0xB6 /* 00000488 */]
  470. 00000540  0C5F 02FF                cmpi.w     [A7]+, 0x2FF
  471. 00000544  6634                     bne        +0x36 /* 0000057A */
  472. 00000546  2053                     movea.l    A0, [A3]
  473. 00000548  0C68 0C00 000E           cmpi.w     [A0 + 0xE], 0xC00
  474. 0000054E  662A                     bne        +0x2C /* 0000057A */
  475. 00000550  70FE                     moveq.l    D0, 0xFFFFFFFE
  476. 00000552  B068 0010                cmp.w      D0, [A0 + 0x10]
  477. 00000556  6622                     bne        +0x24 /* 0000057A */
  478. 00000558  3968 0010 0010           move.w     [A4 + 0x10], [A0 + 0x10]
  479. 0000055E  2053                     movea.l    A0, [A3]
  480. 00000560  2968 0014 0008           move.l     [A4 + 0x8], [A0 + 0x14]
  481. 00000566  2053                     movea.l    A0, [A3]
  482. 00000568  2968 0018 000C           move.l     [A4 + 0xC], [A0 + 0x18]
  483. 0000056E  2053                     movea.l    A0, [A3]
  484. 00000570  41E8 001C                lea.l      A0, [A0 + 0x1C]
  485. 00000574  224C                     movea.l    A1, A4
  486. 00000576  22D8                     move.l     [A1]+, [A0]+
  487. 00000578  22D8                     move.l     [A1]+, [A0]+
  488. label0000057A:
  489. 0000057A  4CDF 1800                movem.l    A3,A4, [A7]+
  490. 0000057E  4E5E                     unlink     A6
  491. 00000580  205F                     movea.l    A0, [A7]+
  492. 00000582  504F                     addq.w     A7, 8
  493. 00000584  4ED0                     jmp        [A0]
  494. 00000586  9647                     sub.w      D3, D7
  495. 00000588  4554                     chk.w      D2, [A4]
  496. 0000058A  4558                     chk.w      D2, [A0]+
  497. 0000058C  5445                     addq.w     D5, 2
  498. 0000058E  4E44                     trap       4
  499. 00000590  4544                     chk.w      D2, D4
  500. 00000592  5049                     addq.w     A1, 8
  501. 00000594  4354                     chk.w      D1, [A4]
  502. 00000596  5552                     subq.w     [A2], 2
  503. 00000598  4549                     chk.w      D2, A1
  504. 0000059A  4E46                     trap       6
  505. 0000059C  4F00                     .invalid   7, D0 // invalid opcode 4 with b == 4
  506. 0000059E  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  507. export_2130: // at 000005A0 (misaligned)
  508. 000005A2  FF92                     .invalid   <<F/6/7>>
  509. 000005A4  48E7 0300                movem.l    -[A7], D6,D7
  510. 000005A8  206E 0008                movea.l    A0, [A6 + 0x8]
  511. 000005AC  43EE FF98                lea.l      A1, [A6 - 0x68]
  512. 000005B0  7019                     moveq.l    D0, 0x19
  513. label000005B2:
  514. 000005B2  22D8                     move.l     [A1]+, [A0]+
  515. 000005B4  51C8 FFFC                dbf        D0, -0x6 /* 000005B2 */
  516. 000005B8  2C2E FF9A                move.l     D6, [A6 - 0x66]
  517. 000005BC  4247                     clr.w      D7
  518. label000005BE:
  519. 000005BE  4A86                     tst.l      D6
  520. 000005C0  6F06                     ble        +0x8 /* 000005C8 */
  521. 000005C2  E28E                     lsr        D6, 1
  522. 000005C4  5247                     addq.w     D7, 1
  523. 000005C6  60F6                     bra        -0x8 /* 000005BE */
  524. label000005C8:
  525. 000005C8  7001                     moveq.l    D0, 0x01
  526. 000005CA  B047                     cmp.w      D0, D7
  527. 000005CC  6D04                     blt        +0x6 /* 000005D2 */
  528. 000005CE  7E01                     moveq.l    D7, 0x01
  529. 000005D0  6020                     bra        +0x22 /* 000005F2 */
  530. label000005D2:
  531. 000005D2  7004                     moveq.l    D0, 0x04
  532. 000005D4  B047                     cmp.w      D0, D7
  533. 000005D6  6D04                     blt        +0x6 /* 000005DC */
  534. 000005D8  7E04                     moveq.l    D7, 0x04
  535. 000005DA  6016                     bra        +0x18 /* 000005F2 */
  536. label000005DC:
  537. 000005DC  7008                     moveq.l    D0, 0x08
  538. 000005DE  B047                     cmp.w      D0, D7
  539. 000005E0  6D04                     blt        +0x6 /* 000005E6 */
  540. 000005E2  7E08                     moveq.l    D7, 0x08
  541. 000005E4  600C                     bra        +0xE /* 000005F2 */
  542. label000005E6:
  543. 000005E6  7010                     moveq.l    D0, 0x10
  544. 000005E8  B047                     cmp.w      D0, D7
  545. 000005EA  6D04                     blt        +0x6 /* 000005F0 */
  546. 000005EC  7E10                     moveq.l    D7, 0x10
  547. 000005EE  6002                     bra        +0x4 /* 000005F2 */
  548. label000005F0:
  549. 000005F0  7E20                     moveq.l    D7, 0x20
  550. label000005F2:
  551. 000005F2  BE6E FFAE                cmp.w      D7, [A6 - 0x52]
  552. 000005F6  6C04                     bge        +0x6 /* 000005FC */
  553. 000005F8  3E2E FFAE                move.w     D7, [A6 - 0x52]
  554. label000005FC:
  555. 000005FC  3D47 000C                move.w     [A6 + 0xC], D7
  556. 00000600  4CDF 00C0                movem.l    D6,D7, [A7]+
  557. 00000604  4E5E                     unlink     A6
  558. 00000606  2E9F                     move.l     [A7], [A7]+
  559. 00000608  4E75                     rts
  560. 0000060A  8F47 4554                pack       D7, D7, 0x4554
  561. 0000060E  4D49                     chk.w      D6, A1
  562. 00000610  4E49                     trap       9
  563. 00000612  4D55                     chk.w      D6, [A5]
  564. 00000614  4D44                     chk.w      D6, D4
  565. 00000616  4550                     chk.w      D2, [A0]
  566. 00000618  5448                     addq.w     A0, 2
  567. 0000061A  0000                     .incomplete
  568.